<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <!-- 2. 引入vuejs -->
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
  </head>

  <body>
    <!-- 1. 准备容器 -->
    <div id="app">
      <!-- 4. 渲染数据 -->
<span>{{msg}}</span>
<span>{{age}}</span>
    </div>
    <script>
      // 3. 创建Vue实例
      const app = new Vue({
        el: "#app",
        data: {
msg:'冯智永远',
age:'18'
        },
        methods: {},
      });
    </script>
  </body>
</html>
